package com.hoshiicloud.payment.service;

import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.payment.Paylist;
import com.hoshiicloud.payment.param.*;
import com.hoshiicloud.payment.vo.PayResponse;
import com.hoshiicloud.payment.vo.RefundResponse;

/**
 * @Author:campchen
 * @Date:Created in 下午 05:20 2019/7/16
 * @PACKAGENAME com.hoshiicloud.payment.service
 * @Description
 */
public interface PayService {
    Response<PayResponse> order(PayRequest param);

    Response closeOrder(CloseOrderRequest param);

    Response<Paylist> queryOrder(QueryOrderRequest param);

    Response<RefundResponse> refundOrder(RefundRequest param);

    Response queryRefundOrder(QueryRefundRequest param);
}
